<!--
 * @Author: your name
 * @Date: 2021-12-06 12:33:39
 * @LastEditTime: 2021-12-07 19:03:39
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /weGame/wegame/src/views/index/index.vue
-->
<template>
  <div class="weGame">
    <Nav />
    <main class="weGame-main">
      <router-view></router-view>
    </main>
  </div>
</template>

<script>
import Nav from "@/components/header";
export default {
  components: {
    Nav,
  },
};
</script>

<style scoped lang="less">
.weGame {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  &-main {
    padding: 0 100px;
    flex: 1;
    overflow: auto;
  }
}
</style>